import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import myhome from "../components/myhome";
import myUser from "../components/myUser";
import myWork from "../components/myWork";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },

    {
      path: '/myhome',
      name: 'myhome',
      component: myhome
    },
    {
      path: '/myUser',
      name: 'myUser',
      component: myUser
    },

    {
      path: '/myWork',
      name: 'myWork',
      component: myWork
    }
  ]
})
